package com.miyu.book.pojo;

import lombok.Data;

import javax.persistence.*;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "book_rule_set")
public class BookRuleSet {
    @Id
    @Column(name = "rule_id", nullable = false, length = 32)
    private String ruleId;
    @Column(name = "rule_name", nullable = false, length = 50)
    private String ruleName;
    @Column(name = "root_source", nullable = true, length = 255)
    private String rootSource;
    @Column(name = "root_search", nullable = true, length = 255)
    private String rootSearch;
    @Column(name = "root_type", nullable = true, length = 20)
    private String rootType;
    @Column(name = "rule_book_list", nullable = true, length = 50)
    private String ruleBookList;
    @Column(name = "rule_chapter_list", nullable = true, length = 50)
    private String ruleChapterList;
    @Column(name = "is_stop", nullable = true, length = 1)
    private String isStop;
    @Column(name = "rule_set", nullable = true, length = 2000)
    private String ruleSet;
}
